﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string BOUrl = @"D:\Z-PetroChina\PPS\PPS2.0\Solution\PetroChina.PPS2.UI.UserPortal\Report\油气运销周报格式.xls";
           string strUrl = 
                CPPEI.Management.ExcelReportManage.ExcelReportSpread(System.DateTime.Parse("2016-12-09").ToString("yyyy-MM-dd"), "油气运销周报", BOUrl);

        }
    }
}
